"""
装饰器
"""


def outer(func):
    def inner(name):
        func(name)
        print("i am {}".format(name))

    return inner


@outer
# func1=outer(func1)
def func1(name):
    print("this is func1")


func1("jsjsjs")
